package org.jeecg.sys.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 操作工ID卡配置
 * @Author: LiCY
 * @Date:   2023-08-08
 * @Version: V1.0
 */
@Data
@TableName("mes_operator")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mes_operator对象", description="操作工ID卡配置")
public class MesOperator implements Serializable {
    private static final long serialVersionUID = 1L;

	/**操作工ID*/
	@Excel(name = "操作工ID", width = 15)
    @ApiModelProperty(value = "操作工ID")
    @TableId
    private String operid;
	/**操作工名称*/
	@Excel(name = "操作工名称", width = 15)
    @ApiModelProperty(value = "操作工名称")
    private String name;
	/**密码*/
	@Excel(name = "密码", width = 15)
    @ApiModelProperty(value = "密码")
    private String pwd;
	/**产线名称*/
	@Excel(name = "产线名称", width = 15)
    @ApiModelProperty(value = "产线名称")
    @TableField("`lines`")
    private String lines;
	/**工位名称*/
	@Excel(name = "工位名称", width = 15)
    @ApiModelProperty(value = "工位名称")
    private String stns;
	/**1: 可用操作工，0:不可用*/
	@Excel(name = "1: 可用操作工，0:不可用", width = 15)
    @ApiModelProperty(value = "1: 可用操作工，0:不可用")
    private String status;
	/**联系信息*/
	@Excel(name = "联系信息", width = 15)
    @ApiModelProperty(value = "联系信息")
    private String contactinfo;
	/**用户id*/
	@Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
    private String userid;
	/**更新时间*/
	@Excel(name = "更新时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date ctime;
}
